package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

public class MemberTradeCommentSubmitDetailVO implements Serializable {
    private static final long serialVersionUID = 5883817249973764888L;

    /**
     * 订单商品明细id
     */
    @NotNull(message = "订单商品明细id不能为空")
    private Long orderProductId;

    /**
     * 评价星级（1-5）
     */
    @NotNull(message = "评价星级（1-5）不能为空")
    @Min(value = 1, message = "评价星级范围为1-5星")
    @Max(value = 5, message = "评价星级范围为1-5星")
    private Integer star;

    /**
     * 评价内容
     */
    private String comment;

    /**
     *  评价图片
     */
    private List<String> pics;

    public Long getOrderProductId() {
        return orderProductId;
    }

    public void setOrderProductId(Long orderProductId) {
        this.orderProductId = orderProductId;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public List<String> getPics() {
        return pics;
    }

    public void setPics(List<String> pics) {
        this.pics = pics;
    }
}